/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "定价流程差异分析汇总",TableName = "cw_djlc_analyze_total")]
    public partial class cw_djlc_analyze_total:BaseEntity
    {
        /// <summary>
       ///产品定价流程主键
       /// </summary>
       [Key]
       [Display(Name ="产品定价流程主键")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid cw_djlc_djzb_id { get; set; }

       /// <summary>
       ///定价流程编号
       /// </summary>
       [Display(Name ="定价流程编号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string cw_djlc_code { get; set; }

       /// <summary>
       ///组号
       /// </summary>
       [Display(Name ="组号")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string groupnum { get; set; }

       /// <summary>
       ///组号名称
       /// </summary>
       [Display(Name ="组号名称")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string groupnumname { get; set; }

       /// <summary>
       ///底稿
       /// </summary>
       [Display(Name ="底稿")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       public decimal? oldprice { get; set; }

       /// <summary>
       ///对比
       /// </summary>
       [Display(Name ="对比")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       public decimal? newprice { get; set; }

       /// <summary>
       ///差异
       /// </summary>
       [Display(Name ="差异")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       public decimal? analyzeprice { get; set; }

       /// <summary>
       ///研发确认是否合理
       /// </summary>
       [Display(Name ="研发确认是否合理")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string is_rational { get; set; }

       /// <summary>
       ///原因
       /// </summary>
       [Display(Name ="原因")]
       [MaxLength(2550)]
       [Column(TypeName="varchar(2550)")]
       [Editable(true)]
       public string reason { get; set; }

       /// <summary>
       ///原因附件
       /// </summary>
       [Display(Name ="原因附件")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string reasonfileurl { get; set; }

       /// <summary>
       ///采购确认是否合理
       /// </summary>
       [Display(Name ="采购确认是否合理")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string caigou_is_rational { get; set; }

       /// <summary>
       ///采购反馈
       /// </summary>
       [Display(Name ="采购反馈")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string feedback { get; set; }

       /// <summary>
       ///采购反馈附件
       /// </summary>
       [Display(Name ="采购反馈附件")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string feedbackurl { get; set; }

       
    }
}